package cn.lavenliu.lombokdemo.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import cn.lavenliu.lombokdemo.entity.Customer;

public interface CustomerRepository extends JpaRepository<Customer, Long> {
    
    List<Customer> findByLastName(String lastName);
}